<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'registerred-courses-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'member_id'); ?>
		<?php echo $form->textField($model,'member_id',array('size'=>11,'maxlength'=>11)); ?>
		<?php echo $form->error($model,'member_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'class_id'); ?>
		<?php echo $form->textField($model,'class_id',array('size'=>11,'maxlength'=>11)); ?>
		<?php echo $form->error($model,'class_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'registration_date'); ?>
		<?php echo $form->textField($model,'registration_date'); ?>
		<?php echo $form->error($model,'registration_date'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'is_waiting_list'); ?>
		<?php echo $form->textField($model,'is_waiting_list'); ?>
		<?php echo $form->error($model,'is_waiting_list'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'is_paid'); ?>
		<?php echo $form->textField($model,'is_paid'); ?>
		<?php echo $form->error($model,'is_paid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'is_cancelled'); ?>
		<?php echo $form->textField($model,'is_cancelled'); ?>
		<?php echo $form->error($model,'is_cancelled'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'total_amount'); ?>
		<?php echo $form->textField($model,'total_amount',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'total_amount'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'discount'); ?>
		<?php echo $form->textField($model,'discount',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'discount'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'total_payable'); ?>
		<?php echo $form->textField($model,'total_payable',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'total_payable'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'payment_method'); ?>
		<?php echo $form->textField($model,'payment_method',array('size'=>7,'maxlength'=>7)); ?>
		<?php echo $form->error($model,'payment_method'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'payment_note'); ?>
		<?php echo $form->textField($model,'payment_note',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'payment_note'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->